package com.mini.cn.goods.po;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: fly
 * Date: 2023/1/1
 * Time: 18:26
 */
@Data
public class GroupSaleActionDes {
    private String groupAddress;
    private String groupTackTime;
    private String groupEndTime;
    private String groupBeginTime;
    private List<GroupSaleTimeGoods> goodsList;

    public static void main(String[] args) {
        GroupSaleActionDes groupSaleActionDes = new GroupSaleActionDes();

        List<GroupSaleTimeGoods> list = new ArrayList<>();
        GroupSaleTimeGoods groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("69e2064b97b9f120f82b433b42332e71");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);


        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("3c796308dceabe0a184dfd70e6457744");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);

        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("60e1fda328f7895020811a1fdff917c3");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);

        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("eba1dc49484290fd12c052c63688c20a");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);

        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("8c5a05f9f31b36d42ee10685e67428aa");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);

        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("77af3e7ff8310ad216a155d4a917104f");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);

        groupSaleTimeGoods = new GroupSaleTimeGoods();
        groupSaleTimeGoods.setGoodsId("a43e32db389933096777782ca63f1bab");
        groupSaleTimeGoods.setDisPrice("10");
        list.add(groupSaleTimeGoods);


        list.add(groupSaleTimeGoods);
        groupSaleActionDes.setGoodsList(list);

        groupSaleActionDes.setGroupAddress("2期门口");
        groupSaleActionDes.setGroupTackTime("13:00");
        groupSaleActionDes.setGroupBeginTime("8:00");
        groupSaleActionDes.setGroupEndTime("23:00");



        System.out.println(JSONObject.toJSONString(groupSaleActionDes));
    }

}
